#include "BulletDynamics/Dynamics/btDiscreteDynamicsWorldMt.h"
#ifdef __cplusplus
extern "C" {
#endif
btDiscreteDynamicsWorldMt* bullet_NewbtDiscreteDynamicsWorldMt(btDispatcher* dispatcher,btBroadphaseInterface* pairCache,btConstraintSolverPoolMt* solverPool,btConstraintSolver* constraintSolverMt,btCollisionConfiguration* collisionConfiguration){
	btDispatcher * c_arg_dispatcher=(btDispatcher *)(void*)(dispatcher);
	btBroadphaseInterface * c_arg_pairCache=(btBroadphaseInterface *)(void*)(pairCache);
	btConstraintSolverPoolMt * c_arg_solverPool=(btConstraintSolverPoolMt *)(void*)(solverPool);
	btConstraintSolver * c_arg_constraintSolverMt=(btConstraintSolver *)(void*)(constraintSolverMt);
	btCollisionConfiguration * c_arg_collisionConfiguration=(btCollisionConfiguration *)(void*)(collisionConfiguration);
	btDiscreteDynamicsWorldMt* wrap_out = new btDiscreteDynamicsWorldMt(c_arg_dispatcher,c_arg_pairCache,c_arg_solverPool,c_arg_constraintSolverMt,c_arg_collisionConfiguration);
	return wrap_out;
}

btConstraintSolverPoolMt* bullet_NewbtConstraintSolverPoolMt(int numSolvers){
	int c_arg_numSolvers=numSolvers;
	btConstraintSolverPoolMt* wrap_out = new btConstraintSolverPoolMt(c_arg_numSolvers);
	return wrap_out;
}

btConstraintSolverPoolMt* bullet_NewbtConstraintSolverPoolMt1(btConstraintSolver** solvers,int numSolvers){
	btConstraintSolver * * c_arg_solvers=(btConstraintSolver * *)(void*)(solvers);
	int c_arg_numSolvers=numSolvers;
	btConstraintSolverPoolMt* wrap_out = new btConstraintSolverPoolMt(c_arg_solvers,c_arg_numSolvers);
	return wrap_out;
}

#ifdef __cplusplus
}
#endif
